package com.qiandw.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @author KG
 */
@Entity
public class LeaveBill implements Serializable {
    /**
     * 主键ID
     */
    @Id
    private String id;
    /**
     * 请假天数
     */
    private Integer days;
    /**
     * 请假内容
     */
    private String content;
    /**
     * 请假时间
     */
    private Date leaveDate = new Date();
    /**
     * 请假备注
     */
    private String remark;
    /**
     * 请假单状态
     */
    private String status;

    @Transient
    private String taskId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
}
